package com.superbytecode.stencil.repository.mapper;

import com.superbytecode.stencil.repository.domain.Datasource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * All rights Reserved, Designed By www.super-master.com
 *
 * @ProjectName: code-stencil
 * @Package: com.superbytecode.stencil.repository.mapper
 * @ClassName: GenDatasourceMapper
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2024/10/11 16:35
 * @Version: V1.0
 * @Copyright: 2024 www.super-master.cn Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
@Mapper
public interface DatasourceMapper {

    Datasource selectByPrimaryKey(Long id);

    List<Datasource> selectForGroup(Long groupId);
}